from pyecharts.charts import Pie
from pyecharts import options
data = [("南昌",0.1),("北京",0.4),("上海",0.3),("成都",0.2)]
pie = Pie()
pie.add("单位/百分比",data)
pie.set_global_opts(title_opts=options.TitleOpts(title="各城市岗位占比"))
pie.render("piera.html")